#include"stack.h"

void text()
{
	Stack ps;
	StackInit(&ps);
	StackPush(&ps, 1);
	printf("%d ", StackTop(&ps));
	StackPush(&ps, 2);
	printf("%d ", StackTop(&ps));
	StackPush(&ps, 3);
	printf("%d\n",StackTop(&ps));
	StackPop(&ps);
	printf("%d ", StackTop(&ps));
}
int main()
{
	text();
	return 0;
}